# -------------------------------------------------
# Project created by QtCreator 2011-02-04T14:22:02
# -------------------------------------------------
QT -= gui
TARGET = KinectCompressor
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp \
    kinnectstorage.cpp
KINECTDIR = "C:/Develop/openkinect/build/"
exists($$KINECTDIR) { 
    DEFINES += USEKINECT
    INCLUDEPATH += $${KINECTDIR}/include
    LIBS += -L$${KINECTDIR}/lib \
        -lfreenect \
        -lfreenect_sync
    DEPENDPATH += $${KINECTDIR}/bin
    message("Freenect libraries found in $${KINECTDIR}")
}
else:message("Freenect libraries not found.")
OPENCVDIR = C:\Develop\opencv22
exists($$OPENCVDIR) { 
    DEFINES += USEOPENCV
    INCLUDEPATH += $${OPENCVDIR}/include
    LIBS += -L$${OPENCVDIR}/lib \
        -lopencv_core220.dll \
        -lopencv_imgproc220.dll \
        -lopencv_highgui220.dll
    DEPENDPATH += $${OPENCVDIR}/bin
    message("OpenCV libraries found in $${OPENCVDIR}")
}
else:message("OpenCV libraries not found.")
HEADERS += kinnectstorage.h
